<!DOCTYPE html>
<html lang="en">
<head>
    <base href="${request.contextPath}/"/>
    <meta charset="UTF-8">
    <title>登录</title>
    <script src="js/jquery-1.11.1.min.js"></script>
    <link rel="stylesheet" href="css/login.css">
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .logo_name{
            position: absolute;
            top: 50px;
            left: 50px;
            width: 100%;
            z-index: 999;
            color: white;
            font-size: 35px;
            font-weight: 700;



        }

        #container {
            position: absolute;
            height: 100%;
            width: 100%;
        }

        #output {
            width: 100%;
            height: 100%;
        }

        .color {
            width: 120px;
            height: 20px;
            margin: 0 auto;
            position: fixed;
            left: 50%;
            margin-left: -60px;
            bottom: 20px;
        }

        .color li {
            float: left;
            margin: 0 5px;
            width: 20px;
            height: 20px;
            background: #ccc;
            box-shadow: 0 0 4px #FFF;
            list-style: none;
            cursor: pointer;
        }

        .color li:nth-child(1) {
            background: #002c4a;
        }

        .color li:nth-child(2) {
            background: #35ac03;
        }

        .color li:nth-child(3) {
            background: #ac0908;
        }

        .color li:nth-child(4) {
            background: #18bbff;
        }
    </style>
    <script src="js/jquery.js"></script>
    <script src="js/vector.js"></script>
    <script>
        $(function () {
            // 初始化 传入dom id
            var victor = new Victor("container", "output");
            var theme = [
                ["#002c4a", "#005584"],
                ["#35ac03", "#3f4303"],
                ["#ac0908", "#cd5726"],
                ["#18bbff", "#00486b"]
            ]
            $(".color li").each(function (index, val) {
                var color = theme[index];
                $(this).mouseover(function () {
                    victor(color).set();
                })
            });
        });
    </script>
</head>
<body>
<p class="logo_name">凌之迅农业大数据互联网平台</p>
<div id="container">
    <div id="output">
        <div class="content_all">
            <div class="input_all">
                <form action="/logindo" method="post">
                    <div class="input_ input_user">
                        <div class="img_img"><img src="images/user.png" alt=""></div>
                        <input class="user_input" type="text" id="username" name="username" value="${username!''}">
                    </div>


                    <div class="input_ input_password">
                        <div class="img_img"><img src="images/password.png" alt=""></div>
                        <input class="password_input" type="password" id="password" name="password"
                               value="${password!''}">
                    </div>
                    <p>${info!''}</p>
                    <input class=" input_submit" type="submit" value="登录">
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>